package info.sean.service.impl;

import info.sean.domain.User;
import info.sean.mapper.UserMapper;
import info.sean.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Admin
 */
@Service("uesrServiceImpl")
public class UserServiceImpl implements UserService {

    @Autowired
    UserMapper userMapper;
    @Override
    public User loging(String username, String password) {
        return   userMapper.loginUser(username,password);

    }
}
